package only.my.railgunys.shooting;

import only.my.railgunys.bean.Character;
import only.my.railgunys.bean.Enemy;
import only.my.railgunys.utils.Crutch;
import only.my.railgunys.utils.FightUtils;

public class Hutao {
    public static Character getDoubleGeoHutao(int level) {
        Character hutao90 = initHutao90();
        Enemy enemy = FightUtils.initNormal90(3);
        hutao90.setEnemy(enemy);
        hutao90.setSkillDmg(2.426);
        Crutch.doubleGeoTeam(hutao90);
        return hutao90;
    }
    public static Character specialIncrease(Character hutao){
        double hp = hutao.getHp() + hutao.getHp_ex();
        hutao.setAtk_ex(hutao.getAtk_ex()+ hp*0.0626);
        return hutao;
    }

    private static Character initHutao90() {
        Character hutao = new Character();
        hutao.setHp(15552D);
        hutao.setRole(3);
        hutao.setLevel(90);
        hutao.setAtk(106D);
        hutao.setCritDmg(88.4);
        hutao.setCritRate(5D);
        hutao.setDescription("90级胡桃");
        hutao.setIncrease(33D); // 半血
        hutao.setAtkUseful(true);
        hutao.setHpUseful(true);
        hutao.setMasteryUseful(true);
        hutao.setCritRateUseful(true);
        hutao.setElementDmgUseful(true);

        return hutao;
    }
}
